<template>
    <FIAutoSelect
      v-model="processKey"
      :props="{ value: 'groupCode', label: 'groupName' }"
      :display-key="['groupCode','groupName']"
      api-url="/gm/GMDTDocTaggroup/queryDtTaggroup"
      searchParam="groupName"
    />
  </template>
  <script setup lang="ts">
  import { computed } from 'vue'
  
  import FIAutoSelect from '@/components/FIAutoSelect/index.vue'
  const props = defineProps({
    modelValue: {
      type: String,
      default: '',
    },
  })
  const emits = defineEmits(['update:modelValue'])
  let processKey: any = computed({
    get() {
      return props.modelValue
    },
    set(val) {
      emits('update:modelValue', val)
    },
  })
  </script>
  
  